<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Mr.Sun
  Date: 2019/11/15
  Time: 上午 10:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑信息</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/editIM.css"/>
    <link rel="stylesheet" href="css/calendar.css"/>

    <script src="js/jquery.js"></script>
    <script type="text/javascript" src="js/calendar.js"></script>
    <script src="js/editIM.js"></script>
    <script src="js/checkUpdateIM.js"></script>
    <script type="text/javascript" src="js/checkUserUpdateForm.js" charset="utf-8"></script>
    <style>
        html, body {
            height: 100%
        }
    </style>

</head>
<script type="text/javascript">
    function xiugai() {
        var formData = new FormData(document.getElementById("searchform"));//表单id
        $.ajax({
                url: '${pageContext.request.contextPath}/updateSampleInfo',
                type: 'post',
                dataType: "json",
                contentType: false,
                processData: false,
                data: formData,
                success: function (data) {
                   console.log(data)
                    if (data.flag == true) {
                        alert("修改成功")
                        window.location.href = "IM.jsp";
                    }else {
                        alert("修改失败")
                    }
                }
            }
        )
    }
</script>
<script type="text/javascript">
    window.onload = function () {

        $.ajax({
            url: '${pageContext.request.contextPath}/SampleInfoController/findByCropCategory',
            type: 'post',
            dataType: "json",
            success: function (map) {
                var obj = eval('(' + map + ')');
                var categoryList = obj.categoryList;
                var cropCpeciesList = obj.cropCpeciesList;
                var cropCategoryId = document.getElementById("cropCategory_Id");
                var cropCpeciesId = document.getElementById("cropCpecies_Id");
                var nidS = document.getElementById("nidS");
                //加载
                for (var i = 0; i < categoryList.length; i++) {
                    if (nidS.value == categoryList[i].id) {
                        $("#cropCategory_Id").append("<option selected='selected' value='" + categoryList[i].id + "'>" + categoryList[i].cropCategory + "</option>")
                    } else {
                        $("#cropCategory_Id").append("<option value='" + categoryList[i].id + "'>" + categoryList[i].cropCategory + "</option>")
                    }
                }
                var nidp = document.getElementById("nidp");
                for (var i = 0; i < cropCpeciesList.length; i++) {
                    if (nidp.value == cropCpeciesList[i].id) {
                        $("#cropCpecies_Id").append("<option selected='selected' value='" + cropCpeciesList[i].id + "'>" + categoryList[i].cropSpecies + "</option>")
                    } else {
                        $("#cropCpecies_Id").append("<option value='" + cropCpeciesList[i].id + "'>" + cropCpeciesList[i].cropSpecies + "</option>")
                    }
                }
            }
        });
        $.ajax({
            url: '${pageContext.request.contextPath}/SampleInfoController/selectAddress',
            type: 'post',
            dataType: "json",
            success: function (map) {
                var obj = eval('(' + map + ')');
                var cityList = obj.cityList;
                var provinceList = obj.provinceList;
                var townList = obj.townList;
                var shenId = document.getElementById("shen");
                var shiId = document.getElementById("shi");
                var xianId = document.getElementById("xian");
                var shengy = document.getElementById("shengy");
                for (var i = 0; i < provinceList.length; i++) {
                    if (shengy.value == provinceList[i].name) {
                        $("#shen").append("<option selected='selected' value='" + provinceList[i].code + "'>" + provinceList[i].name + "</option>")
                    } else {
                        $("#shen").append("<option value='" + provinceList[i].code + "'>" + provinceList[i].name + "</option>")
                    }
                }
                var shiy = document.getElementById("shiy");
                shiId.innerHTML = "<option>选择市</option>";
                xianId.innerHTML = "<option>选择区</option>";
                for (var i in cityList) {
                    if (shiy.value == cityList[i].name) {
                        $("#shi").append("<option selected='selected' value='" + cityList[i].code + "'>" + cityList[i].name + "</option>")
                    } else {
                        $("#shi").append("<option value='" + cityList[i].code + "'>" + cityList[i].name + "</option>")
                    }
                }
                var xiany = document.getElementById("xiany");
                xianId.innerHTML = "<option>选择区</option>";
                for (var i in townList) {
                    if (xiany.value == townList[i].name) {
                        $("#xian").append("<option selected='selected' value='" + townList[i].code + "'>" + townList[i].name + "</option>")
                    } else {
                        $("#xian").append("<option value='" + townList[i].code + "'>" + townList[i].name + "</option>")
                    }
                }
            }

        });
    }
</script>
<%--种类改变--%>
<script type="text/javascript">
    function asdasfa() {
        $.ajax({
            url: '${pageContext.request.contextPath}/SampleInfoController/findByCropCategory',
            type: 'post',
            dataType: "json",
            success: function (map) {
                var obj = eval('(' + map + ')');
                var categoryList = obj.categoryList;
                var cropCpeciesList = obj.cropCpeciesList;
                var cropCategoryId = document.getElementById("cropCategory_Id");
                var cropCpeciesId = document.getElementById("cropCpecies_Id");
                var procode = cropCategoryId.value;
                cropCpeciesId.innerHTML = "<option>请选择</option>";
                for (var i in cropCpeciesList) {
                    if (cropCpeciesList[i].cropCategoryId == procode) {
                        var opt = document.createElement("option");
                        opt.innerText = cropCpeciesList[i].cropSpecies;
                        opt.setAttribute("value", cropCpeciesList[i].id);
                        cropCpeciesId.appendChild(opt);
                    }
                }
            }
        });
    }
</script>
<%--改变省--%>
<script type="text/javascript">
    function changeShen() {
        $.ajax({
            url: '${pageContext.request.contextPath}/SampleInfoController/selectAddress',
            type: 'post',
            dataType: "json",
            success: function (map) {
                var obj = eval('(' + map + ')');
                var cityList = obj.cityList;
                var provinceList = obj.provinceList;
                var townList = obj.townList;
                var shenId = document.getElementById("shen");
                var shiId = document.getElementById("shi");
                var xianId = document.getElementById("xian");
                var shengy = document.getElementById("shengy");
                var procode = shenId.value;
                //先清除原来的城市数据
                shiId.innerHTML = "<option>选择市</option>";
                xianId.innerHTML = "<option>选择区</option>";

                for (var i in cityList) {
                    if (cityList[i].provincecode == procode) {
                        var citys = cityList[i].name;
                        var opt = document.createElement("option");
                        opt.innerText = cityList[i].name;
                        opt.setAttribute("value", cityList[i].code);
                        shiId.appendChild(opt);
                    }
                }
            }
        })
    }
</script>
<%--改变市--%>
<script type="text/javascript">
    function changeShi() {
        $.ajax({
            url: '${pageContext.request.contextPath}/SampleInfoController/selectAddress',
            type: 'post',
            dataType: "json",
            success: function (map) {
                var obj = eval('(' + map + ')');
                var cityList = obj.cityList;
                var provinceList = obj.provinceList;
                var townList = obj.townList;
                var shenId = document.getElementById("shen");
                var shiId = document.getElementById("shi");
                var xianId = document.getElementById("xian");
                var shengy = document.getElementById("shengy");
                //获取城市ID
                var cityCode = shiId.value;
                //先清除原来的城市数据
                xianId.innerHTML = "<option>选择区</option>";
                //根据城市ID获取区县列表
                for (var i in townList) {
                    if (townList[i].citycode == cityCode) {
                        var opt = document.createElement("option");
                        opt.innerText = townList[i].name;
                        opt.setAttribute("value", townList[i].code);
                        xianId.appendChild(opt);
                    }
                }
            }
        })
    }
</script>
<script type="text/javascript">
    $(function () {
        checksample_id();
        checkbreed();
        checkcrop_category_id();
        checkharvest_time();
        checksampling_time();
        checksampling_people();
        checkseasonal();
        checkdescription();
        checkpollution_rate();
        checktoxin_id();
        checktoxin_count();
    });
</script>
<body>
<div class="contaner">

    <div class="im-content">
        <div class="im-heade">
            <div class="imhead-title">当前页面：<a>修改信息</a></div>
        </div>
        <form enctype="multipart/form-data" method="post" accept-charset="utf-8" id="searchform" enctype="multipart/form-data" method="post"
              accept-charset="utf-8">
            <div class="editim-table">
                <ul class="table-con">
                    <li class="edittable-top">
                        <div class="edittable-left">采样信息</div>
                        <div class="edittable-right">
                            <ul>
                                <li>
                                    <lable>样品编号</lable>
                                    <input type="hidden" id="nidS1" name="samid" value="${sampleInfo.id}"/>
                                    <input name="sampleId" placeholder="首字母为英文，长度为5-15位" id="sample_Id" class="ypbh"
                                           onblur="checksample_id()"      value="${sampleInfo.sampleId}" type="">
                                    <span id = "asdasdas"></span>
                                </li>
                                <li>
                                    <input type="hidden" id="nidS" name="nidS"
                                           value="${sampleInfo.cropCpecies[0].cropCategoryId}"/>
                                    <lable>农产品加工原料类别</lable>
                                    <select class="sel" onchange="asdasfa()" name="cropCategoryId" id="cropCategory_Id">
                                    </select>
                                    <span id="crop_category_id"></span>
                                </li>
                                <li>
                                    <lable>品种</lable>
                                    <input type="hidden" id="nidp" name="nidp" value="${sampleInfo.cropCpecies[0].id}"/>
                                    <select name="cropCpeciesId" class="sele" id="cropCpecies_Id">
                                    </select>
                                    <span id="breed"></span>
                                </li>
                                <li>
                                    <div class="width">
                                        <lable>地点</lable>
                                        <input value="123" id="wsx" type="hidden">
                                        <input type="hidden" id="shengy" name="nidp"value="${sampleInfo.province}"/>
                                        <select class="province" id="shen" name="sheng"
                                                onchange="changeShen(this.value,'shen','shi','xian')">
                                        </select><span>省</span>
                                        <input type="hidden" id="shiy" name="nidp"value="${sampleInfo.city}"/>
                                        <select class="city" onblur="checkprovince()" id="shi" name="shi"
                                                onchange="changeShi(this.value,'shen','shi','xian')">
                                            <option value="0" class="shide">请选择</option>
                                        </select><span>市</span>
                                        <input type="hidden" id="xiany" name="nidp"value="${sampleInfo.county}"/>
                                        <select onblur="checkprovince()" class="county" name="xian" id="xian" onchange="xianwsx()">
                                            <option value="0" class="xiande">请选择</option>
                                        </select><span>县</span>
                                    </div>
                                    <span class="xc">
											<input placeholder="可为空" id="xiang" name="township" value="" type="text">乡
											<input placeholder="可为空" id="cun" name="village" value="" type="text">村
											<input placeholder="可为空" id="hu" name="household" value=""
                                                   type="text"><span>户</span>
										</span>
                                    <span id="province"></span>
                                </li>
                                <li>
                                    <lable>收获时间</lable>
                                    <input name="harvest_time" id="dt" value="${sampleInfo.harvestTime}" onblur="checkharvest_time()" readonly="readonly" placeholder="选择日期"
                                           type="text">
                                    <div style="width: 280px; height: 330px; left: 549.65px; top: 351px; z-index: 999; display: none;"
                                         class="calendar calendar-modal calendar-d" id="dd">
                                        <div style="width: 280px;" class="calendar-inner">
                                            <div class="calendar-views">
                                                <div style="width: 280px;" class="view view-date">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-date=""
                                                                                class="calendar-display">2018/<span
                                                            class="m">3</span></a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一月"
                                                                                          data-calendar-arrow-date="">&lt;</span><span
                                                                class="next" title="下一月" data-calendar-arrow-date="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <div style="width: 280px; height: 280px;" class="calendar-ct">
                                                        <ol class="week">
                                                            <li style="width:40px;height:40px;line-height:40px">日</li>
                                                            <li style="width:40px;height:40px;line-height:40px">一</li>
                                                            <li style="width:40px;height:40px;line-height:40px">二</li>
                                                            <li style="width:40px;height:40px;line-height:40px">三</li>
                                                            <li style="width:40px;height:40px;line-height:40px">四</li>
                                                            <li style="width:40px;height:40px;line-height:40px">五</li>
                                                            <li style="width:40px;height:40px;line-height:40px">六</li>
                                                        </ol>
                                                        <ul class="date-items">
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">10
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class=" now" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div style="width: 280px;" class="view view-month">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-month=""
                                                                                class="calendar-display">2018</a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一年"
                                                                                          data-calendar-arrow-month="">&lt;</span><span
                                                                class="next" title="下一年" data-calendar-arrow-month="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <ol style="width: 280px; height: 280px;"
                                                        class="calendar-ct month-items">
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">1月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">2月
                                                        </li>
                                                        <li class="now" style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">3月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">4月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">5月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">6月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">7月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">8月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">9月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">10月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">11月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">12月
                                                        </li>
                                                    </ol>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="calendar-label"><p>HelloWorld</p><i></i></div>
                                    </div>
                                    <span class="harvest_time" id="harvest_time"></span>
                                </li>
                                <li>
                                    <lable>取样时间</lable>
                                    <input name="sampling_time" value="${sampleInfo.samplingTime}" id="dt-b" placeholder="选择日期"
                                           readonly="readonly" type="text">
                                    <div style="width: 280px; height: 330px; left: 549.65px; top: 401px; z-index: 999; display: none;"
                                         class="calendar calendar-modal calendar-d" id="dd-b">
                                        <div style="width: 280px;" class="calendar-inner">
                                            <div class="calendar-views">
                                                <div style="width: 280px;" class="view view-date">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-date=""
                                                                                class="calendar-display">2018/<span
                                                            class="m">3</span></a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一月"
                                                                                          data-calendar-arrow-date="">&lt;</span><span
                                                                class="next" title="下一月" data-calendar-arrow-date="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <div style="width: 280px; height: 280px;" class="calendar-ct">
                                                        <ol class="week">
                                                            <li style="width:40px;height:40px;line-height:40px">日</li>
                                                            <li style="width:40px;height:40px;line-height:40px">一</li>
                                                            <li style="width:40px;height:40px;line-height:40px">二</li>
                                                            <li style="width:40px;height:40px;line-height:40px">三</li>
                                                            <li style="width:40px;height:40px;line-height:40px">四</li>
                                                            <li style="width:40px;height:40px;line-height:40px">五</li>
                                                            <li style="width:40px;height:40px;line-height:40px">六</li>
                                                        </ol>
                                                        <ul class="date-items">
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">10
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class=" now" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div style="width: 280px;" class="view view-month">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-month=""
                                                                                class="calendar-display">2018</a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一年"
                                                                                          data-calendar-arrow-month="">&lt;</span><span
                                                                class="next" title="下一年" data-calendar-arrow-month="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <ol style="width: 280px; height: 280px;"
                                                        class="calendar-ct month-items">
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">1月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">2月
                                                        </li>
                                                        <li class="now" style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">3月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">4月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">5月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">6月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">7月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">8月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">9月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">10月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">11月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">12月
                                                        </li>
                                                    </ol>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="calendar-label"><p>HelloWorld</p><i></i></div>
                                    </div>
                                    <span class="err" id="sampling_time"></span>
                                </li>
                                <li>
                                    <lable>取样人</lable>
                                    <input placeholder="请输入取样人姓名" onblur="checksampling_people()" name="samplingPeople" id="samplingeople" value="${sampleInfo.samplingPeople}" type="">
                                    <span id="sampling_people"></span>
                                </li>
                                <li class="jijie">
                                    <lable>采集季节及气候特征</lable>
                                    <textarea name="seasonal" id="seaso_nal1" onblur="checkseasonal()" rows="" cols="">${sampleInfo.seasonal}</textarea>
                                    <span id="seasonal"></span>
                                </li>
                                <li class="huanjing">
                                    <lable>采集地、环境信息描述</lable>
                                    <textarea name="description" id="descri_ption1" rows="" onblur="checkdescription()" cols="">${sampleInfo.description}</textarea>
                                    <span id="description"></span>
                                </li>
                                <li>
                                    <lable>真菌污染率</lable>
                                    <input name="pollutionRate" id="pollutionRate" value="${sampleInfo.pollutionRate}" type="" onblur="checkpollution_rate()">
                                    <span id="pollution_rate"></span>
                                </li>
                            </ul>
                        </div>
                    </li>
                <div class="addds">

                        <li class="edittable-middle">
                            <c:forEach items="${sampleToxin}" var="toxinList">
                            <div class="editmiddle-left">
                                毒素信息
                            </div>
                            <div class="editmiddle-right">
                                <ul>
                                    <li>
                                        <lable>毒素种类</lable>
                                        <select name="toxinId" id="toxin_id1"  onblur="checktoxin_id()">
                                        <option value="">请选择</option>
                                        <c:forEach items="${sampleToxinInfo}" var="dss">
                                            <option value="${dss.id}" <c:if test="${dss.id == toxinList.toxinId}">selected</c:if>>${dss.toxinType}</option>
                                        </c:forEach>
                                        </select>
                                        <span id="toxin_id"></span>
                                    </li>
                                    <li>
                                        <lable>毒素含量</lable>
                                        <input name="toxinCount" id="toxinCount" onblur="checktoxin_count()"  value="${toxinList.toxinCount}" type="text">
                                        <span id="toxin_count"></span>
                                    </li>
                                    <li>
                                        <a onclick="qwe();" class="del">删除</a>
                                    </li>
                                </ul>
                            </div>
                            </c:forEach>
                        </li>

                    </div>

                    <div class="add-dsxx" >+添加毒素信息</div>
        <c:forEach items="${sampleInfo.bacterialStrainInfos}" var="blist">
                    <div class="add-con">
                        <li class="edittable-bottom">
                            <div class="editbottom-left">产毒菌株信息</div>
                            <div class="editbottom-right">
                                <ul>
                                    <li>
                                        <lable>样品编号</lable>
                                        <input name="sample_num" value="${sampleInfo.sampleId}" class="sample" type="text">
                                    </li>
                                    <li>
                                        <lable>菌株原始编号</lable>
                                        <input name="original_num" value="${blist.originalNum}" class="num" type="text">
                                    </li>
                                    <li class="form-a">
                                        <lable>文献信息</lable>
                                        <a class="xz-btn-a">选择文件</a>
                                        <input placeholder="仅支持doc/docx格式" name="wordvalues" id="wordvalues"
                                               value="${blist.wordAddr}" class="file-name-a"
                                               readonly="readonly" type="text">
                                        <input name="word_addr" class="file-info-a" type="file" accept=".doc,.docx">
                                    </li>
                                    <li class="form-b">
                                        <lable>文本信息</lable>
                                        <a class="xz-btn-b">选择文件</a>
                                        <input placeholder="仅支持txt格式" value="${blist.txtAddr}"
                                               name="txtvalues" id="txtvalues" class="file-name-b" readonly="readonly"
                                               type="text">
                                        <input name="txt_addr" value="0" class="file-info-b" type="file" accept=".txt">
                                    </li>
                                    <li class="form-c">
                                        <lable>图片信息</lable>
                                        <a class="xz-btn-c">选择文件</a>
                                        <input placeholder="仅支持jpg/png格式" value="${blist.pictureAddr}"
                                               name="imgvalues" id="imgvalues" class="file-name-c" readonly="readonly"
                                               type="text">
                                        <input name="picture_addr" value="0" class="file-info-c" type="file" accept=".jpg,.png,.gif,.jpeg">
                                    </li>
                                    <li>
                                        <a onclick="qwe(6);" class="del">删除</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </div>
    </c:forEach>
                </ul>
                <div class="add-ds">+添加产毒菌株信息</div>
                <div class="footer">
                    <a class="baocun" onclick="xiugai()">修改</a>
                    <a onclick="history.go(-1)" class="marginl"
                       href="javascript:if(confirm('确实要放弃操作吗?返回之后，所添加数据不会保存！'))location='/glory/rest/iddeleteyangpin?id=754'">返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
</div>
</body>


<!--	<script>

	function getPhotoSize(obj){
    photoExt=obj.value.substr(obj.value.lastIndexOf(".")).toLowerCase();//获得文件后缀名
    console.log(photoExt);
     if(photoExt!='.png' && photoExt!='.jpg'){
        alert("请上传正确的照片格式!");
         obj.value = "";
        console.log(obj.value);
        return false;
    }
    var fileSize = 0;
    var isIE = /msie/i.test(navigator.userAgent) && !window.opera;
    if (isIE && !obj.files) {
         var filePath = obj.value;
         var fileSystem = new ActiveXObject("Scripting.FileSystemObject");
         var file = fileSystem.GetFile (filePath);
         fileSize = file.Size;
    }else {
         fileSize = obj.files[0].size;
    }
    fileSize=Math.round(fileSize/1024*100)/100; //单位为KB


}

function getPhotoSizes(obj){
    photoExt=obj.value.substr(obj.value.lastIndexOf(".")).toLowerCase();//获得文件后缀名
     if(photoExt!='.doc' && photoExt!='.docx'){
        alert("请上传正确的文档格式!");
         obj.value = "";
        console.log(obj.value);
        return false;
    }
    var fileSize = 0;
    var isIE = /msie/i.test(navigator.userAgent) && !window.opera;
    if (isIE && !obj.files) {
         var filePath = obj.value;
         var fileSystem = new ActiveXObject("Scripting.FileSystemObject");
         var file = fileSystem.GetFile (filePath);
         fileSize = file.Size;
    }else {
         fileSize = obj.files[0].size;
    }
    fileSize=Math.round(fileSize/1024*100)/100; //单位为KB


}

function getTextSize(obj){
// 	alert("校验txt");
    photoExt=obj.value.substr(obj.value.lastIndexOf(".")).toLowerCase();//获得文件后缀名
     if(photoExt!='.txt'){
        alert("请上传正确的文档格式!");
         obj.value = "";
        console.log(obj.value);
        return false;
    }
    var fileSize = 0;
    var isIE = /msie/i.test(navigator.userAgent) && !window.opera;
    if (isIE && !obj.files) {
         var filePath = obj.value;
         var fileSystem = new ActiveXObject("Scripting.FileSystemObject");
         var file = fileSystem.GetFile (filePath);
         fileSize = file.Size;
    }else {
         fileSize = obj.files[0].size;
    }
    fileSize=Math.round(fileSize/1024*100)/100; //单位为KB


}
function cptypes(){
		    var oSelect = document.getElementById('cptype');
            var cid = oSelect.value;

		if(cid != ""){

				$.ajax({
				 type:"POST",   //http请求方式
				 url:"selectidtype", //发送给服务器的url
				 dataType:"json",    //传参类型
				 data:{cid:cid},
				 success: function(cc) {

					if($(".selec").length == "0"){
						$("#cptypess").append("<option class='selec' value='' >"+"请选择"+"</option>");
						 for(var i=0 ;i<cc.length ;i++){

						 	$("#cptypess").append(
						 		"<option class='cpzl'  value='" +cc[i].id+ "' >"+cc[i].crop_species+"</option>"
						 	);
						 }
					}else{
						$(".selec").remove();
							$("#cptypess").append("<option class='selec' value='' >"+"请选择"+"</option>");
						 for(var i=0 ;i<cc.length ;i++){

						 	$("#cptypess").append(
						 		"<option class='selec'  value='" +cc[i].id+ "' >"+cc[i].crop_species+"</option>"
						 	);
						 }

					}
				 }
			 });
		}else{
			alert("强选择原料类别！！！");
		}
	}

	</script>-->
</html>
